package com.upcode.weighing.vo.add;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

public class EtcUserDetailAddVo implements Serializable {

    /**
     * 员工工号
     */
    @NotNull(message = "员工工号不可为空")
    private String staffNo;

    /**
     * 身份证号
     */
    @NotNull(message = "身份证号不可为空")
    private String IdNum;
    
    private String IdNum2;

    /**
     * 所属部门
     */
    private String department;

    /**
     * 当前职务
     */
    private String post;

    /**
     * 籍贯
     */
    private String nativePlace;

    /**
     * 手机
     */
    @Length(max = 11)
    @NotNull(message = "手机不可为空")
    private String tel;
    
    private String tel2;

    /**
     * 毕业院校
     */
    private String graUniversity;

    /**
     * 毕业时间
     */
    private LocalDate graTime;

    /**
     * 学历
     */
    private String education;

    /**
     * 所学专业
     */
    private String subject;

    /**
     * 备注
     */
    private String remark;

    /**
     * 所属机构编码
     */
    private String orgCode;

    /**
     * 所属机构名称
     */
    private String orgName;

    public String getStaffNo() {
        return staffNo;
    }

    public void setStaffNo(String staffNo) {
        this.staffNo = staffNo;
    }
    public String getIdNum() {
        return IdNum;
    }

    public void setIdNum(String IdNum) {
        this.IdNum = IdNum;
    }
    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }
    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }
    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }
    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    public String getGraUniversity() {
        return graUniversity;
    }

    public void setGraUniversity(String graUniversity) {
        this.graUniversity = graUniversity;
    }
    public LocalDate getGraTime() {
        return graTime;
    }

    public void setGraTime(LocalDate graTime) {
        this.graTime = graTime;
    }
    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }
    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	public String getIdNum2() {
		return IdNum2;
	}

	public void setIdNum2(String idNum2) {
		IdNum2 = idNum2;
	}

	public String getTel2() {
		return tel2;
	}

	public void setTel2(String tel2) {
		this.tel2 = tel2;
	}

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }
}
